Fast carry lookahead circuits

ABSTRACT

A fast lookahead carry adder includes adder logic and lookahead carry-path logic coupled to the adder logic. The carry path logic has a main carry path, a carry entrance path and a carry exit path, the carry entrance path separate from the carry exit path.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to digital logic circuits. Moreparticularly, the present invention relates to arithmetic logic circuitsand to fast lookahead carry circuits.

2. The Prior Art

Adder circuits include provision for producing and propagating a carrybit. A single bit stage of a prior-art ripple-carry adder is shown inFIG. 1. Input terms “a” and “b” are presented on input lines 10 and 12to XOR gate 14. The “b” input on line 12 is also presented to the “0”input of multiplexer 16. A carry input (ci) on line 18 is presented tothe “1” data input of multiplexer 16. The output of XOR gate 14 producesa term px that is used to drive the select input of multiplexer 16. Theoutput of multiplexer 16 is the carry output of the adder presented oncarry-out line (co) 20. The px term and the ci input (shown as the cxinput) are presented to XOR gate 22. The output term of the adder ispresented on line 24 at the output of XOR gate 22. The carry chain isthe portion of the circuit of FIG. 1 contained within the dashed lines26 of FIG. 1.

Different prior-art adder types use the same logic to create thecarry-propagate signal px for a bit x as well as the carry input signalux, and the XOR gate 22 to create the sum output(s) from the propagatesignal px and the local carry output signal cx.

FIGS. 2-8 focus on alternative implementations of the carry-chain logicbetween ci, px and ux inputs and co and cx outputs of the carry chain,contained within the dashed lines 26 of FIG. 1, in order to compare theprior art with the present invention. FIGS. 2-8 show different examplesof multi-bit adders.

FIG. 2 is a schematic diagram of a carry chain of a prior-art 2-bit wideripple-carry adder. The carry-input signal u0 for bit 0 is presented online 30 to the “0” input of multiplexer 32. The carry-in signal ci ispresented on line 34 to the “1” input of multiplexer 32. The propagatesignal p0 for bit 0 is presented on line 36 to the select input ofmultiplexer 32.

The carry-input signal u1 for bit 1 is presented on line 38 to the “0”input of multiplexer 40. The output of multiplexer 32 is presented tothe “1” input of multiplexer 40. The propagate signal p1 for bit 1 ispresented on line 42 to the select input of multiplexer 40. The outputof multiplexer 40 is buffered by buffer 44 to produce the carry-out (co)signal on line 46. The carry-in signal on line 34 is buffered by buffer48 to produce the local carry-out signal c0 on line 50. The output ofmultiplexer 32 is buffered by buffer 52 to produce the local carry-outsignal c1 on line 54.

The buffer 44 at the carry output is optional and could alternatively bean inverter, creating an inverted carry-output and it can be placedafter any number of multiplexers to optimize speed. The other buffers 48and 52 are also optional, and serve to limit the capacitive load on themain carry path.

Referring now to FIG. 3, a schematic diagram shows only the carry chainof a prior-art 2-bit wide carry-lookahead-adder. The carry-input signalu0 for bit 0 is presented on line 60 to the “0” input of multiplexer 62.The carry-in signal ci is presented on line 64 to the “1” input ofmultiplexer 62. The propagate signal p0 for bit 0 is presented on line66 to the select input of multiplexer 62.

The carry-input signal u1 for bit 1 is presented on line 68 to the “0”input of multiplexer 70. The output of multiplexer 62 is presented tothe “1” input of multiplexer 70. The propagate signal p1 for bit 1 ispresented on line 72 to the select input of multiplexer 70. The outputof multiplexer 70 is buffered by buffer 74.

The output of buffer 74 is presented to the “0” input of multiplexer 76.The carry-in input ci is presented to the “1” input of multiplexer 76.The propagate signals p0 and p1 are combined in AND gate 78. The outputof AND gate 78 is presented to the select input of multiplexer 76. Theoutput of multiplexer 76 is buffered by buffer 80 to produce thecarry-out (co) signal on line 82. The carry-in signal on line 64 isbuffered by buffer 84 to produce the local carry-out c0 signal on line86. The output of multiplexer 62 is buffered by buffer 88 to produce thelocal carry-out c1 signal on line 90. Buffers 74, 80, 84, and 88 areoptional and buffers 80, 84, and 88 could also be inverters withouthaving to invert any of the signals.

If both propagate signals p0 and p1 within the basic lookahead-unit (2bits wide in this example) are logic “1,” the carry-input of the entirestage gets propagated to the co output on line 82 by multiplexer 76.

Referring now to FIG. 4, a schematic diagram shows only the carry chainof a prior-art 3-bit wide carry-lookahead-adder. The carry-input signalu0 for bit 0 is presented on line 100 to the “0” input of multiplexer102. The carry-in signal ci is presented on line 104 to the “1” input ofmultiplexer 102. The propagate signal p0 for bit 0 is presented on line106 to the select input of multiplexer 102.

The carry-input signal u1 for bit 1 is presented on line 108 to the “0”input of multiplexer 110. The output of multiplexer 102 is presented tothe “1” input of multiplexer 110. The propagate signal p1 for bit 1 ispresented on line 112 to the select input of multiplexer 110.

The carry-input signal u2 for bit 2 is presented on line 114 to the “0”input of multiplexer 116. The output of multiplexer 110 is presented tothe “1” input of multiplexer 116. The propagate signal p2 for bit 2 ispresented on line 118 to the select input of multiplexer 116. The outputof multiplexer 116 is buffered by buffer 120.

The output of buffer 120 is presented to the “0” input of multiplexer122. The carry-in input ci is presented to the “1” input of multiplexer122. The propagate signals p0, p1, and p2 are combined in AND gate 124.The output of AND gate 124 is presented to the select input ofmultiplexer 122. The output of multiplexer 122 is buffered by buffer 126to produce the carry-out (co) signal on line 128. The carry-in signal online 104 is buffered by buffer 130 to produce the local carry-out signalc0 on line 132. The output of multiplexer 102 is buffered by buffer 134to produce the local carry-out c1 signal on line 136. The output ofmultiplexer 110 is buffered by buffer 138 to produce the local carry-outc2 signal on line 140. Buffers 120, 126, 130 134, and 138 are optionaland buffers 126, 130, 134, and 138 could also be inverters withouthaving to invert any of the signals.

In a manner similar to the operation of the carry chain of the 2-bitwide carry-lookahead-adder of FIG. 3, if all three propagate signals p0,p1, and p2 within the basic lookahead-unit are logic “1,” thecarry-input of the entire stage gets propagated to the co output on line128 by multiplexer 122.

BRIEF DESCRIPTION

The present invention reduces the delay of carry-lookahead addersthrough the main carry-path, as well as the entrance path and the exitpath. A fast lookahead carry adder includes adder logic and lookaheadcarry-path logic coupled to the adder logic. The carry path logic has acarry entrance path and a carry exit path, the carry entrance pathseparate from the carry exit path.

BRIEF DESCRIPTION OF THE DRAWING FIGURES

FIG. 1 is a schematic diagram of a prior-art ripple-carry adder.

FIG. 2 is a schematic diagram showing only the carry chain of aprior-art 2-bit wide ripple-carry adder

FIG. 3 is a schematic diagram showing only the carry chain of aprior-art 2-bit wide carry-lookahead-adder.

FIG. 4 is a schematic diagram showing only the carry chain of aprior-art 3-bit wide carry-lookahead-adder.

FIG. 5 is a schematic diagram showing an illustrative example of a 2-bitwide carry lookahead adder with a separate carry entrance and exit pathaccording to the present invention.

FIG. 6 is a schematic diagram showing an illustrative example of a 3-bitwide carry lookahead adder with a separate carry entrance and exit pathaccording to the present invention.

FIG. 7 is a schematic diagram showing another illustrative example of a3-bit wide carry lookahead adder with a separate carry entrance and exitpath according to the present invention.

FIG. 8 is a schematic diagram showing an illustrative example of the useof a hierarchical approach in a 4-bit wide carry lookahead adder toreduce the number of multiplexers in the entrance and exit paths, evenfor the 4-bit width.

DETAILED DESCRIPTION

Persons of ordinary skill in the art will realize that the followingdescription of the present invention is illustrative only and not in anyway limiting. Other embodiments of the invention will readily suggestthemselves to such skilled persons.

The terms carry-entrance path, carry-exit path and main carry path areused herein. As used herein, the carry-entrance path extends from the u0input to the co output; the carry-exit path extends from input ci to thelocal carry-out c0-cx outputs, where x is the most significant bit. Themain carry path extends from the ci input to the co output.

Referring now to FIG. 5, a schematic diagram shows an illustrativeexample of a carry path for a 2-bit wide carry lookahead adder havingseparate carry-entrance and carry-exit paths according to the presentinvention.

The carry-input signal u0 for bit 0 is presented on line 150 to the “0”input of multiplexer 152. The carry-in signal ci is presented on line154 through buffer 156 to the “1” input of multiplexer 152. Thepropagate signal p0 for bit 0 is presented on line 158 to the selectinput of multiplexer 152.

The carry-input signal u1 for bit 1 is presented on line 160 to the “0”input of multiplexer 162. The u0 input on line 150 is presented to the“1” input of multiplexer 162. The propagate signal p1 for bit 1 ispresented on line 164 to the select input of multiplexer 162. The outputof multiplexer 162 is buffered by buffer 166.

The output of buffer 166 is presented to the “0” input of multiplexer170. The carry-in (ci) input on line 154 is presented to the “1” inputof multiplexer 170. The propagate signals p0 and p1 are combined in ANDgate 168. The output of AND gate 168 is presented to the select input ofmultiplexer 170. The output of multiplexer 170 is buffered by buffer 172to produce the carry-out (co) signal on line 174. The buffered carry-insignal is buffered by buffer 176 to produce the local carry-out c0signal on line 178. The output of multiplexer 152 is buffered by buffer180 to produce the local carry-out c1 signal on line 182. Buffers 156,166, 172, 176 and 180 are optional or could be replaced by inverters bychanging the polarities of some signals to compensate for the inversion.

As may be seen from a comparison of the carry paths of FIGS. 3 and 5,the carry-exit path from ci to local carry outputs c0 and c1 is entirelyseparate from the carry-entrance path from u0 to ci. In addition, theuse of buffer 156, formed using small geometry devices, to isolate theremainder of the carry exit path from the ci input reduces thecapacitive loading on the ci node. By splitting the carry-entrance andcarry-exit paths, the longest carry-entrance path from u0 to co isthrough multiplexers 162 and 170, as compared with the longestcarry-entrance path from u0 to co in FIG. 3 through multiplexers 62, 70,and 76. The present invention thus reduces the carry entrance path byone multiplexer, which shortens the propagation delay through the carrychain. By locating multiplexer 152 in the carry-exit path downstreamfrom buffer 156 the capacitive load on the ci input is reduced, thusspeeding up the main carry path.

Referring now to FIG. 6, a schematic diagram shows an illustrativeexample of a carry path for a 3-bit wide carry lookahead adder havingseparate carry entrance and exit paths according to another embodimentof the present invention. The carry-input signal u0 for bit 0 ispresented on line 190 to the “0” input of multiplexer 192. The carry-insignal ci is presented on line 194 through buffer 196 to the “1” inputof multiplexer 192. The propagate signal p0 for bit 0 is presented online 198 to the select input of multiplexer 192.

The carry-input signal u1 for bit 1 is presented on line 200 to the “0”input of multiplexer 202. The u0 input on line 190 is presented to the“1” input of multiplexer 202. The propagate signal p1 for bit 1 ispresented on line 204 to the select input of multiplexer 202.

The carry-input signal u2 for bit 2 is presented on line 206 to the “0”input of multiplexer 208. The output of multiplexer 202 is presented tothe “1” input of multiplexer 208. The propagate signal p2 for bit 2 ispresented on line 210 to the select input of multiplexer 208. The outputof multiplexer 208 is buffered by buffer 212.

The output of buffer 212 is presented to the “0” input of multiplexer214. The unbuffered carry-in signal (ci) on line 192 is presented to the“1” input of multiplexer 214. The propagate signals p0, p1, and p2 arecombined in AND gate 216. The output of AND gate 216 is presented to theselect input of multiplexer 214. The output of multiplexer 214 isbuffered by buffer 218 to produce the carry-out (co) signal on line 220.The buffered carry-in signal is buffered by buffer 222 to produce thelocal carry-out c0 signal on line 224. The output of multiplexer 192 isbuffered by buffer 226 to produce the local carry-out c1 signal on line228. The u1 input on line 200 is presented to the “0” input ofmultiplexer 230. The output of multiplexer 192 is presented to the “0”input of multiplexer 230. The select input of multiplexer 230 is drivenby the p1 signal on line 204. The output of multiplexer 230 is bufferedby buffer 232 to produce the local carry-out c2 signal on line 234.Buffers 196, 212, 218, 222, 226, and 232, are optional or could bereplaced by inverters by changing the polarities of some signals tocompensate for the inversion.

As in the embodiment of FIG. 5, the carry-exit path from ci to localcarry outputs c0, c1, and c2 is entirely separate from thecarry-entrance path from u0 to ci. In addition, the use of buffer 196,formed using small geometry devices, to isolate the remainder of thecarry exit path from the ci input reduces the capacitive loading on theci node. As may be seen by comparing FIGS. 4 and 6 with FIGS. 3 and 5,enlarging the basic unit width by one more bit will increase the lengthof the delay paths in both the carry-entrance and exit paths by one moremultiplexer. The longest carry-entrance path from u0 to co in FIG. 6 isthrough multiplexers 202, 208, and 214, as compared with the longestcarry-entrance path from u0 to co in FIG. 3 through multiplexers 102,110, 116, and 122. Again, the present invention reduces this path by onemultiplexer, which shortens the propagation delay through the carrychain. The adder shown in FIG. 6 expanded to a width of 4 bits wouldhave four multiplexers in the entrance-path as well as in the exit-path.

Referring now to FIG. 7, a schematic diagram shows another illustrativeexample of a carry path for a 3-bit wide carry lookahead adder havingseparate carry entrance and exit paths according to another embodimentof the present invention. The embodiment of FIG. 7 is similar to the oneshown in FIG. 6, and corresponding elements in FIGS. 6 and 7 will beidentified by like reference numerals.

The carry-input signal u0 for bit 0 is presented on line 190 to the “0”input of multiplexer 192. The carry-in signal ci is presented on line194 through buffer 196 to the “1” input of multiplexer 192. Thepropagate signal p0 for bit 0 is presented on line 198 to the selectinput of multiplexer 192.

The carry-input signal u1 for bit 1 is presented on line 200 to the “0”input of multiplexer 202. The u0 input on line 190 is presented to the“1” input of multiplexer 202. The propagate signal p1 for bit 1 ispresented on line 204 to the select input of multiplexer 202.

The carry-input signal u2 for bit 2 is presented on line 206 to the “0”input of multiplexer 208. The output of multiplexer 202 is presented tothe “1” input of multiplexer 208. The propagate signal p2 for bit 2 ispresented on line 210 to the select input of multiplexer 208. The outputof multiplexer 208 is buffered by buffer 212.

The output of buffer 212 is presented to the “0” input of multiplexer214. The unbuffered carry-in signal (ci) on line 192 is presented to the“1” input of multiplexer 214. The propagate signals p0, p1, and p2 arecombined in AND gate 216. The output of AND gate 216 is presented to theselect input of multiplexer 214. The output of multiplexer 214 isbuffered by buffer 218 to produce the carry-out (co) signal on line 220.The buffered carry-in signal is buffered by buffer 222 to produce thelocal carry-out c0 signal on line 224. The output of multiplexer 192 isbuffered by buffer 226 to produce the local carry-out c1 signal on line228. The output of multiplexer 202 is presented to the “0” input ofmultiplexer 230. The ci input on line 194 buffered by buffer 196 ispresented to the “1” input of multiplexer 230. The p0 and p1 signals onlines 198 and 204 are combined in AND gate 236. The output of AND gate236 drives the select input of multiplexer 230. The output ofmultiplexer 230 is buffered by buffer 232 to produce the local carry-outsignal c2 on line 234. Buffers 196, 212, 218, 222, 226, and 232, areoptional or could be replaced by inverters by changing the polarities ofsome signals to compensate for the inversion. As may be seen from FIG.7, the exit path from ci on line 194 to c1 on line 228 passes throughonly a single multiplexer 192. As also may be seen from FIG. 7, the exitpath from ci on line 194 to c2 on line 234 also passes through a singlemultiplexer 230. Thus, both of these exit paths are shortened to includeone multiplexer.

As in the embodiments of FIGS. 5 and 6, the carry-exit path in theembodiment of FIG. 7 from ci to local carry outputs c0, c1, and c2 isentirely separate from the carry-entrance path from u0 to ci. Inaddition, the use of buffer 196, formed using small geometry devices, toisolate the remainder of the carry exit path from the ci input reducesthe capacitive loading on the ci node. As in the embodiments of FIGS. 5and 6, enlarging the basic unit width by one more bit will increase thelength of the delay paths in both the carry-entrance and exit paths byone more multiplexer. The longest carry-entrance path from u0 to co inFIG. 7 is through multiplexers 202, 208, and 214, as compared with thelongest carry-entrance path from u0 to co in FIG. 4 through multiplexers102, 110, 116, and 122. Again, the present invention reduces this pathby one multiplexer, which shortens the propagation delay through thecarry chain.

According to another aspect of the invention, shown in FIG. 7, to whichattention is now drawn, a hierarchical approach is used to reduce thenumber of multiplexers in the entrance path to three and in the exitpath to two, even for the 4-bit width shown.

Referring now to FIG. 8, a schematic diagram shows an illustrativeexample of a carry path using a hierarchical approach for a 4-bit widecarry lookahead adder having separate carry entrance and exit pathsaccording to the present invention. The carry-input signal u0 for bit 0is presented on line 240 to the “0” input of multiplexer 242. Thecarry-in signal ci is presented on line 244 through buffer 246 to the“1” input of multiplexer 242. The propagate signal p0 for bit 0 ispresented on line 248 to the select input of multiplexer 242.

The carry-input signal u1 for bit 1 is presented on line 250 to the “0”input of multiplexer 252. The u0 input on line 240 is presented to the“1” input of multiplexer 252. The propagate signal p1 for bit 1 ispresented on line 254 to the select input of multiplexer 252.

The carry-input signal u2 for bit 2 is presented on line 256 to the “1”input of multiplexer 258. The carry-input signal u3 for bit 3 ispresented on line 260 to the “0” input of multiplexer 258. The propagatesignal p3 for bit 3 is presented on line 262 to the select input ofmultiplexer 258.

The output of multiplexer 258 is presented to the “0” input ofmultiplexer 264. The output of multiplexer 252 is presented to the “1”input of multiplexer 264. The p2 and p3 signals are combined in AND gate266. The output of AND gate 266 is presented to the select input ofmultiplexer 264. The output of multiplexer 264 is buffered by buffer268.

The output of buffer 268 is presented to the “0” input of multiplexer270. The unbuffered carry-in signal (ci) on line 244 is presented to the“1” input of multiplexer 270. The propagate signals p0, p1, p2, and p3are combined in AND gate 272. The output of AND gate 272 is presented tothe select input of multiplexer 270. The output of multiplexer 270 isbuffered by buffer 274 to produce the carry-out (co) signal on line 276.

The buffered carry-in signal is buffered by buffer 278 to produce thelocal carry-out c0 signal on line 280. The output of multiplexer 242 isbuffered by buffer 282 to produce the local carry-out c1 signal on line284. The output of multiplexer 252 is presented to the “0” input ofmultiplexer 286. The buffered carry-in signal is presented to the “1”input of multiplexer 286. The p0 and p1 signals are combined in AND gate288. The output of AND gate 288 is presented to the select input ofmultiplexer 286. The output of multiplexer 286 is buffered by buffer 290to produce the local carry-out c2 signal on line 292. The carry-inputsignal u2 for bit 2 is presented on line 256 to the “0” input ofmultiplexer 294. The output of multiplexer 286 is presented to the “1”input of multiplexer 294. The p2 signal on line 296 is presented to theselect input of multiplexer 294. The output of multiplexer 294 isbuffered by buffer 298 to produce the local carry-out c3 signal on line300. Buffers 246, 268, 274, 278, 282, 290, and 298 are optional or couldbe replaced by inverters by changing the polarities of some signals tocompensate for the inversion.

The hierarchical approach of FIG. 8 has several advantages. The numberof multiplexers in the entrance path is reduced to three and the numberof multiplexers in the exit path is reduced to two, even for the 4-bitwidth shown. The embodiment of FIGS. 6 and 7 expanded to four bits wouldrequire four multiplexers in the entrance path. The prior-art example ofFIG. 4 expanded to four bits would require five multiplexers in theentrance path. The embodiment of FIG. 6 expanded to four bits wouldrequire three multiplexers in the exit path. The prior-art example ofFIG. 4 expanded to four bits would require three multiplexers in theexit path. The hierarchical approach thus also saves multiplexers in theexit path.

While embodiments and applications of this invention have been shown anddescribed, it would be apparent to those skilled in the art that manymore modifications than mentioned above are possible without departingfrom the inventive concepts herein. The invention, therefore, is not tobe restricted except in the spirit of the appended claims.

1. A carry lookahead circuit for a fast carry adder comprising: acarry-in signal node; first, second, and third carry-input signal nodes;first, second, and third propagate signal nodes; first, second, andthird local carry-out signal nodes; a carry-out signal node; a firstbuffer having an input and an output, the input coupled to the carry-insignal node and the output coupled to the first local-carry out signalnode; a first multiplexer having a first data input coupled to the firstcarry-input signal node, a second data input coupled to the output ofthe first buffer, a control input coupled to the first propagate signalnode, and an output coupled to the second local carry-out signal node; asecond multiplexer having a first data input coupled to the secondcarry-input signal node, a second data input coupled to the firstcarry-input signal node, a control input coupled to the second propagatesignal node, and an output; a first AND gate having a first inputcoupled to the first propagate signal node, a second input coupled tothe second propagate signal node, and an output; a third multiplexerhaving a first data input coupled to the output of the secondmultiplexer, a second data input coupled to the carry-in signal nodethrough the first buffer, a control input coupled to the output of thefirst AND gate, and an output coupled to the third local carry-outsignal node; a fourth multiplexer having a first data input coupled tothe third carry-input signal node, a second data input coupled to theoutput of the second multiplexer, a control input coupled to the thirdpropagate signal node, and an output; a second AND gate having a firstinput coupled to the first propagate input node, a second input coupledto the second propagate input node, a third input coupled to the thirdpropagate input node, and an output; a fifth multiplexer having a firstdata input coupled to the output of the fourth multiplexer, a seconddata input coupled to the carry-in signal node, a control input coupledto the output of the AND gate, and an output coupled to the carry-outsignal node.
 2. The carry lookahead circuit of claim 1, wherein: theoutput of the first buffer is coupled to the first local carry-outsignal node through a second buffer; the output of the first multiplexeris coupled to the second local carry-out signal node through a thirdbuffer; the output of the third multiplexer is coupled to the thirdlocal carry-out signal node through a fourth buffer; and wherein thefirst buffer is smaller than the second, third, and fourth buffers. 3.The carry lookahead circuit of claim 1, wherein the output of the fifthmultiplexer is coupled to the carry-out signal node through a buffer. 4.A carry lookahead circuit for a fast carry adder comprising: a carry-insignal node; first, second, third, and fourth carry-input signal nodes;first, second, third, and fourth propagate signal nodes; first, second,third, and fourth local carry-out signal nodes; a carry-out signal node;a first buffer having an input and an output, the input coupled to thecarry-in signal node and the output coupled to the first local-carry outsignal node; a first multiplexer having a first data input coupled tothe first carry-input signal node, a second data input coupled to theoutput of the first buffer, a control input coupled to the firstpropagate signal node, and an output coupled to the second localcarry-out signal node; a second multiplexer having a first data inputcoupled to the second carry-input signal node, a second data inputcoupled to the first carry-input signal node, a control input coupled tothe second propagate signal node, and an output; a first AND gate havinga first input coupled to the first propagate signal node, a second inputcoupled to the second propagate signal node, and an output; a thirdmultiplexer having a first data input coupled to the output of thesecond multiplexer, a second data input coupled to the carry-in signalnode through the first buffer, a control input coupled to the output ofthe first AND gate, and an output coupled to the third local carry-outsignal node; a fourth multiplexer having a first data input coupled tothe third carry-input signal node, a second data input coupled to theoutput of the third multiplexer, a control input coupled to the thirdpropagate signal node, and an output coupled to a fourth local carry-outsignal node; a fifth multiplexer having a first data input coupled tothe fourth carry-input signal node, a second data input coupled to thethird carry-input signal node, a control input coupled to the fourthpropagate signal node, and an output; a second AND gate having a firstinput coupled to the third propagate input node, a second input coupledto the fourth propagate input node, and an output; a sixth multiplexerhaving a first data input coupled to the output of the fifthmultiplexer, a second data input coupled to the output of the secondmultiplexer, a control input coupled to the output of the second ANDgate, and an output; a third AND gate having a first input coupled tothe first propagate input node, a second input coupled to the secondpropagate input node, a third input coupled to the third propagate inputnode, a fourth input coupled to the fourth propagate input node and anoutput; a seventh multiplexer having a first data input coupled to theoutput of the sixth multiplexer, a second data input coupled to thecarry-in signal node, a control input coupled to the output of the ANDgate, and an output coupled to the carry-out signal node.
 5. The carrylookahead circuit of claim 4, wherein: the output of the first buffer iscoupled to the first local carry-out signal node through a secondbuffer; the output of the first multiplexer is coupled to the secondlocal carry-out signal node through a third buffer; the output of thethird multiplexer is coupled to the third local carry-out signal nodethrough a fourth buffer; the output of the fourth multiplexer is coupledto the fourth local carry-out signal node through a fifth buffer; andwherein the first buffer is smaller than the second, third, fourth, andfifth buffers.
 6. The carry lookahead circuit of claim 4, wherein theoutput of the seventh multiplexer is coupled to the carry-out signalnode through a buffer.